package com.dropdb.demo.service;

import com.dropdb.demo.bean.Topic;

import java.util.HashMap;
import java.util.List;

public interface TopicService {
    HashMap<String, Object> listTopics(Integer page, Integer size);

    HashMap<String, Object> getTopicDetail(Integer id);

    List<Topic> getRelatedTopic(Integer id);

}
